﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Domain.Examin
{
    /// <summary>
    /// 审批流程实体
    /// </summary>
    [Table("approvalprocessmodel")]
    public class ApprovalProcessModel:AuditEntity
    {
        /// <summary>
        /// 流程名称
        /// </summary>
        [StringLength(255)]
        public string processName { get; set; }
        /// <summary>
        /// 流程描述
        /// </summary>
        [StringLength(1000)]
        public string description { get; set; }
        /// <summary>
        /// 状态  0:草稿、1：已发布、2：停用
        /// </summary>
        public int status { get; set; }
        /// <summary>
        /// 起始节点
        /// </summary>
        public long? startNodeId { get; set; }

    }
}
